<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>组合键</title>
</head>
<body>
	<script type="text/javascript">

	window.onkeydown =function(e)
	{
		if(e.key=='g' && e.ctrlKey == true){
			alert('w');
		}
		if(e.key == 'h' && e.shiftKey == true){
			alert('2');
		}
		if(e.key == 'R' && e.shiftKey ==true){
			alert('3');
		}
		if(e.key == 'T' &&E.shiftKey&&e.ctrlKey )
		{
			alert(''4);
		}

	}
	</script>
	
</body>
</htmls